home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / BROWSER.XPI / bin / chrome / toolkit.jar / content / global / printdialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-23  |  5.1 KB  |  131 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.  
  6.  The contents of this file are subject to the Mozilla Public License Version
  7.  1.1 (the "License"); you may not use this file except in compliance with
  8.  the License. You may obtain a copy of the License at
  9.  http://www.mozilla.org/MPL/
  10.  
  11.  Software distributed under the License is distributed on an "AS IS" basis,
  12.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.  for the specific language governing rights and limitations under the
  14.  License.
  15.  
  16.  The Original Code is Mozilla Communicator client code, released
  17.  March 31, 1998.
  18.  
  19.  The Initial Developer of the Original Code is
  20.  Netscape Communications Corporation.
  21.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  22.  the Initial Developer. All Rights Reserved.
  23.  
  24.  Contributor(s):
  25.    Masaki Katakai <katakai@japan.sun.com>
  26.    Dan Rosen <dr@netscape.com>
  27.    Jessica Blanco <jblanco@us.ibm.com>
  28.    Asko Tontti <atontti@cc.hut.fi>
  29.    Roland Mainz <roland.mainz@nrubsig.org>
  30.    Peter Weilbacher <mozilla@weilbacher.org>
  31.  
  32.  Alternatively, the contents of this file may be used under the terms of
  33.  either of the GNU General Public License Version 2 or later (the "GPL"),
  34.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  35.  in which case the provisions of the GPL or the LGPL are applicable instead
  36.  of those above. If you wish to allow use of your version of this file only
  37.  under the terms of either the GPL or the LGPL, and not to allow others to
  38.  use your version of this file under the terms of the MPL, indicate your
  39.  decision by deleting the provisions above and replace them with the notice
  40.  and other provisions required by the GPL or the LGPL. If you do not delete
  41.  the provisions above, a recipient may use your version of this file under
  42.  the terms of any one of the MPL, the GPL or the LGPL.
  43.  
  44.  ***** END LICENSE BLOCK ***** -->
  45.  
  46. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  47. <!DOCTYPE dialog SYSTEM "chrome://global/locale/printdialog.dtd">
  48.  
  49. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  50.   id="printDialog"
  51.   onload="onLoad();"
  52.   ondialogaccept="return onAccept();"
  53.   buttonlabelaccept="&printButton.label;"
  54.   oncancel="return onCancel();"
  55.   title="&printDialog.title;"
  56.   persist="screenX screenY"
  57.   screenX="24" screenY="24">
  58.  
  59.   <script type="application/x-javascript" src="chrome://global/content/printdialog.js"/>
  60.   <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  61.  
  62.   <groupbox>
  63.     <caption label="&printer.label;"/>
  64.  
  65.     <grid>
  66.       <columns>
  67.         <column/>
  68.         <column flex="1"/>
  69.         <column/>
  70.       </columns>
  71.  
  72.       <rows>
  73.         <row align="center">
  74.           <hbox align="center" pack="end">
  75.             <label id="printerLabel" value="&printerInput.label;"/>
  76.           </hbox>
  77.           <menulist id="printerList" flex="1" type="description" oncommand="setPrinterDefaultsForSelectedPrinter();"/>
  78.           <button id="properties" label="&propertiesButton.label;" oncommand="displayPropertiesDialog();"/>
  79.         </row>
  80.         <row align="center">
  81.           <hbox align="center" pack="end">
  82.             <label id="descTextLabel" control="descText" value="&descText.label;"/>
  83.           </hbox>
  84.           <label id="descText"/>
  85.           <checkbox id="fileCheck" checked="false" label="&fileCheck.label;" pack="end"/>
  86.         </row>
  87.       </rows>
  88.     </grid>
  89.   </groupbox>
  90.  
  91.   <hbox>
  92.     <groupbox flex="1">
  93.       <caption label="&printrangeGroup.label;"/>
  94.  
  95.       <radiogroup id="printrangeGroup">
  96.         <radio id="allpagesRadio" label="&allpagesRadio.label;" oncommand="doPrintRange(0)"/>
  97.         <hbox align="center">
  98.           <radio id="rangeRadio" label="&rangeRadio.label;" oncommand="doPrintRange(1)"/>
  99.           <label id="frompageLabel" control="frompageInput" value="&frompageInput.label;" />
  100.           <textbox id="frompageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  101.           <label id="topageLabel" control="topageInput" value="&topageInput.label;" />
  102.           <textbox id="topageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  103.         </hbox>
  104.         <radio id="selectionRadio" label="&selectionRadio.label;" oncommand="doPrintRange(2)"/>
  105.       </radiogroup>
  106.     </groupbox>
  107.  
  108.     <groupbox flex="1">
  109.       <caption label="&copies.label;"/>
  110.       <hbox align="center">
  111.         <label control="numCopiesInput" value="&numCopies.label;"/>  
  112.         <textbox id="numCopiesInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  113.       </hbox>
  114.     </groupbox>
  115.   </hbox>
  116.  
  117.   <groupbox flex="1">
  118.     <caption label="&printframeGroup.label;" id="printframeGroupLabel"/>
  119.     <radiogroup id="printframeGroup">
  120.       <radio id="aslaidoutRadio" label="&aslaidoutRadio.label;" />
  121.       <radio id="selectedframeRadio" label="&selectedframeRadio.label;" />
  122.       <radio id="eachframesepRadio" label="&eachframesepRadio.label;" />
  123.     </radiogroup>
  124.   </groupbox>
  125.  
  126.   <!-- used to store the title of the filepicker -->
  127.   <data style="display:none;" id="fpDialog" label="&fpDialog.title;"/>
  128.  
  129. </dialog>
  130.  
  131.